package com.heima.apis.client;


import com.heima.apis.fallback.IWemediaClientFallback;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "leadnews-wemedia", fallbackFactory = IWemediaClientFallback.class)
public interface IWemediaClient {

    @GetMapping("/api/v1/channel/list")
    ResponseResult listChannel();
}
